package com.woniuxy.jiapei.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author lr
 * @since 2020-10-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "Hospital对象", description = "")
public class Hospital implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("医院ID")
    private Integer id;
    @ApiModelProperty("医院对接人ID")
    private Integer linkman;
    @ApiModelProperty("医院名称")
    private String name;
    @ApiModelProperty("省份")
    private Integer province;
    @ApiModelProperty("城市")
    private Integer city;
    @ApiModelProperty("县")
    private Integer county;
    @ApiModelProperty("区")
    private Integer district;
    @ApiModelProperty("租金")
    private Double rent;
    @ApiModelProperty("银行卡号")
    private String card;
    @ApiModelProperty("收益分成")
    private String income;
    @ApiModelProperty("创建时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date time;
    @ApiModelProperty("股东ID")
    private Integer shareholder;
    @ApiModelProperty("一级分销商")
    private Integer distributor1;
    @ApiModelProperty("二级分销商")
    private Integer distributor2;
    @ApiModelProperty("状态")
    private Integer status;



}
